package com.morehair.bean.bo.admin;

import com.morehair.bean.pojo.AttributeOfGoods;
import com.morehair.bean.pojo.SpecificationOfGoods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Description:
 * Date: 2021/6/7
 * Time: 16:45
 * author: zhang wei
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpdateGoodsBo {

    private GoodsBo goods;
    private List<AttributeOfGoods> attributes;
    private List<Product> products;
    private List<SpecificationOfGoods> specifications;


    @Data
    public static class Product {

        private Integer id;

        private Integer goodsId;

        private List<String> specifications;

        private BigDecimal price;

        private Integer number;

        private String url;

        private Date addTime;

        private Date updateTime;

        private Boolean deleted;

    }
}
